script(type='text/javascript')
	$(document).ready(function() {
		$('#slideshow').cycle({
			fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		});
	});
table
	tr
		td.neutral(colspan='2')
			h3 Welcome
	tr
		td.error(colspan='2')
			h4 Want to join a fraternity at WPI?
			h5(style='display: block;') The following must be completed by all who wish to be considered for membership by ANY fraternity at WPI: 
			ul
				li.neutral.link(onClick='window.open(\'http://www.wpi.edu/+techsync\', \'_blank\')') 1. Sign into TechSync
				li.neutral.link(onclick='window.location.href=\'https://orgsync.com/39236/forms/show/33006\'') 2. Complete the Academic Release Form for Fraternity/Sorority Potential New Members
	tr
		td.neutral Some firendly message... Don't be a Geed. Rush.
		td.neutral
			#slideshow
				//img(src='/static/image/rotate/1.png',height='255')
				//img(src='/static/image/rotate/2.jpg',width='100%')
				img(src='/static/image/rotate/3.jpg',width='100%')
				img(src='/static/image/rotate/4.jpg',width='100%')
				img(src='/static/image/rotate/5.jpg',width='100%')
				img(src='/static/image/rotate/6.jpg',height='255')
	tr
		td.neutral
			h4 Upcoming Events
		td.neutral
			h4 Some Other Stuff
	tr
		td.dashboard
			ul
				each event in events
					li.neutral.link(onclick='window.location=\'/events/'+event._id+'\'')
						=event.what + ' (' + event.when + ')'
		td.neutral.dashboard Things Here...
		
-if(typeof(user) != 'undefined' && user.type=='Administrator')
	ul
		li.neutral= 'https://graph.facebook.com/me?access_token=' + cookie['access_token']
		li.neutral
			a(href= 'https://graph.facebook.com/257615834280234/accounts/test-users?installed=false&permissions=email&method=post&access_token=257615834280234|L67GJDNuZTTIkR3v4hZggVM0-z8') Add User
		li.neutral
			a(href= 'https://graph.facebook.com/oauth/access_token?client_id=257615834280234&client_secret=ec389b3c44195d6f9cfc0da469be84d7&grant_type=client_credentials') Get App Access
